Parallelization of a Smoothed Particle Hydrodynamic Code for Simulation of Shocks in Accretion Disks

نویسندگان

  • G. Gerardi
  • D. Molteni
چکیده

We present the parallelization of a Serial Code that was designed to model shocks around black hole in accretion disks using the Smoothed Particles Hydrodynamics (SPH). The goal we obtained with our parallelization is threefold: (1) Execution speed gain nearly proportional to the number of processors; (2) Processing a number of SPH particles so high that doesn’t fit into a single computer; (3) Implementation of the parallel code in such a way to make future additions of new physic ingredients easier. The paradigm we use to realize the parallelization is the Multiple Instruction Multiple Data (MIMD) one. The three dimensional computational domain is decomposed into concentrically cylindrical sub domains. All the SPH particles, whose vector radius projection (in X,Y plane) lays between two consecutive cylinders, are assigned to the same process. A modified serial version of the code run on every sub domain. The interaction between particles in a sub domain with that owned by the two adjacent one is obtained defining ”edge particles”. All parameters of the ”edge particles” are exchanged between two consecutive couple of process by, Message Passing Interface (MPI) standard. The sub-domain radius Rk are not fixed in order to ensure load balancing among processors. At each time step all internal SPH particles are processed and advanced after the density, pressure and gravitational forces are calculated considering the presence of the ”edge particles”. At the end of each time step particles migrating to the two consecutive sub domains are exchanged and the host particles are refreshed. The parallel code we have realized has run in a cluster of bi processors workstations linked by a fast local Internet link and on the CINECA (Bologna) IBM PC Cluster.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Numerical Simulations of Standing Shocks in Accretion Flows around Black Holes: A Comparative Study

We compare the results of numerical simulations of thin and quasi-spherical (thick) accretion flows with existing analytical solutions. We use a Lagrangian code based on the Smooth Particle Hydrodynamics (SPH) scheme and an Eulerian finite difference code based on the Total Variation Diminishing (TVD) scheme. In one-dimensional thin flows, the results of the simulations, with or without shocks,...

متن کامل

Simulation of Thick Accretion Disks with Standing Shocks by Smoothed Particle Hydrodynamics

We present results of numerical simulation of inviscid thick accretion disks and wind flows around black holes. We use Smoothed Particle Hydrodynamics (SPH) technique for this purpose. Formation of thick disks are found to be preceded by shock waves travelling away from the centrifugal barrier. For a large range of the parameter space, the travelling shock settles at a distance close to the loc...

متن کامل

Angular Momentum Transport in Simulations of Accretion Disks

In this paper we briefly discuss the ways in which angular momentum transport is included in simulations of non-self-gravitating accretion disks, concentrating on disks in close binaries. Numerical approaches fall in two basic categories; particle based Lagrangian schemes, and grid based Eulerian techniques. Underlying the choice of numerical technique are assumptions that are made about disk p...

متن کامل

A simple model for accretion disks in the post-Newtonian approximation

p { margin-bottom: 0.1in; direction: ltr; line-height: 120%; text-align: left; }a:link { } In this paper, the evolution of accretion disks in the post-Newtonian limit has been investigated. These disks are formed around gravitational compact objects such as black holes, neutron stars, or white dwarfs. Although most analytical researches have been conducted in this context in the framework o...

متن کامل

Embedding Lagrangian Sink Particles in Eulerian Grids

We introduce a new computational method for embedding Lagrangian sink particles into an Eulerian calculation. Simulations of gravitational collapse or accretion generally produce regions whose density greatly exceeds the mean density in the simulation. These dense regions require extremely small time steps to maintain numerical stability. Smoothed particle hydrodynamics (SPH) codes approach thi...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2004